Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Stores.​CachingResourceStore<​T>
Assembly: Duende.IdentityServer
Inheritance: object → CachingResourceStore
Implemented Interfaces
Caching decorator for IResourceStore that maintains a single authoritative cached <see cref="T:Duende.IdentityServer.Models.Resources" /> snapshot. All lookup methods filter this snapshot in memory, ensuring atomic cache population and eliminating cross-entry drift that can occur with per-item caching strategies.
Methods
public
System.​Threading.​Tasks.​Task<​Models.​Resources>
GetAllResourcesAsync​(System.​Threading.​CancellationToken ct)
public
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IReadOnlyCollection<​Models.​ApiResource>>
FindApiResourcesByScopeNameAsync​(System.​Collections.​Generic.​IEnumerable<​string> scopeNames,
System.​Threading.​CancellationToken ct)
public
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IReadOnlyCollection<​Models.​ApiResource>>
FindApiResourcesByNameAsync​(System.​Collections.​Generic.​IEnumerable<​string> apiResourceNames,
System.​Threading.​CancellationToken ct)
public
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IReadOnlyCollection<​Models.​IdentityResource>>
FindIdentityResourcesByScopeNameAsync​(System.​Collections.​Generic.​IEnumerable<​string> scopeNames,
System.​Threading.​CancellationToken ct)
public
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IReadOnlyCollection<​Models.​ApiScope>>
FindApiScopesByNameAsync​(System.​Collections.​Generic.​IEnumerable<​string> scopeNames,
System.​Threading.​CancellationToken ct)
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object